|
Book details / order |
JAVA 8 IN ACTION |
Every new version of java is important, but java 8 is a game changer. java 8 in action is a clearly written guide to the new features of java 8. it begins with a practical introduction to lambdas, using real-world java code. next, it covers the new streams api and shows how you can use it to make collection-based code radically easier to understand and maintain. it also explains other major java 8 features including default methods, optional, completablefuture and the new date and time api.
contents : -
part 1 fundamentals
chapter 1 java 8: why should you care?
· why is java still changing?
· functions in java
· streams
· default methods
· other good ideas from functional programming
chapter 2 passing code with behavior parameterization
· coping with changing requirements
· behavior parameterization
· tackling verbosity
· real-world examples
chapter 3 lambda expressions
· lambdas in a nutshell
· where and how to use lambdas
· putting lambdas into practice: the execute around pattern
· using functional interfaces
· type checking, type inference and restrictions
· method references
· putting lambdas and method references into practice!
· useful methods to compose lambda expressions
· similar ideas from mathematics
part 2 functional-style data processing
chapter 4 introducing streams
· what are streams?
· getting started with streams
· streams vs. collections
· stream operations
chapter 5 working with streams
· filtering and slicing
· mapping
· finding and matching
· reducing
· putting it all into practice
· numeric streams
· building streams
chapter 6 collecting data with streams
· collectors in a nutshell
· reducing and summarizing
· grouping
· partitioning
· the collector interface
· developing your own collector for better performance
chapter 7 parallel data processing and performance
· parallel streams
· the fork/join framework
· spliterator
part 3 effective java 8 programming
chapter 8 refactoring, testing and debugging
· refactoring for improved readability and flexibility
· refactoring object-oriented design patterns with lambdas
· testing lambdas
· debugging
chapter 9 default methods
· evolving apis
· default methods in a nutshell
· usage patterns for default methods
· resolution rules
chapter 10 using optional as a better alternative to null
· how do you model the absence of a value?
· introducing the optional class
· patterns for adopting optional
· practical examples of using optional
chapter 11 completablefuture: composable asynchronous programming
· futures
· implementing an asynchronous api
· make your code non-blocking
· pipelining asynchronous tasks
· reacting to a completablefuture completion
chapter 12 new date and time api
· localdate, localtime, instant, duration and period
· manipulating, parsing and formatting dates
· working with different time zones and calendars
part 4 beyond java
chapter 13 thinking functionally
· implementing and maintaining systems
· what’s functional programming?
· recursion vs. iteration
chapter 14 functional programming techniques
· functions everywhere
· persistent data structures
· lazy evaluation with streams
· pattern matching
· miscellany
chapter 15 blending oop and fp: comparing java 8 and scala
· introduction to scala
· functions
· classes and traits
chapter 16 conclusions and where next for java
· review of java 8 features
· what’s ahead for java?
Author : Raoul-gabriel urma, mario fusco, alan mycroft
Publication : Dreamtech press
Isbn : 9789351197430
Store book number : 107
NRS 880.00
|
|
|
|
|
|
|
|
|
|